package island.gotenyama.wand.annotation;

import island.gotenyama.wand.validation.PercentValidation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ValidationClass(PercentValidation.class)
public @interface Percent {

	/**
	 * 
	 * 
	 * @return
	 */
	float min() default 0.0f;

	/**
	 * 
	 * 
	 * @return
	 */
	float max() default 0.0f;
}
